package com.example.dell.fastshopping.mall.entity;

import com.example.dell.fastshopping.R;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by ${YSH} on 2019/4/11.
 * 描述        ${TODO}
 * <p>
 * 更新者       $author$
 * 更新时间     $Data$
 * 描述         ${TODO}
 */
public class MallEntity implements Serializable {
    private String status;
    private Integer src;
    private int time;

    public MallEntity(String s, int time) {
        this.status = s;
        this.src = R.mipmap.ic_launcher;
        this.time = time;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String s) {
        this.status = s;
    }

    public void setTime(int i) {
        this.time = i;
    }

    public int getTime() {
        return time;
    }


    private List<MallItem> list;

    public List<MallItem> getList() {
        return list;
    }

    public void setList(List<MallItem> list) {
        this.list = list;
    }

    public class MallItem {
        private int id;
        private int productId;
        private BigDecimal startPrice;
        private BigDecimal incrementValue;
        private long startTime;
        private long endTime;
        private int auctionGradeId;
        private int userId;
        private int times;
        private long createTime;
        private String productPic;
        private String title;
        private int status;
        private long serverTime;

        public int getId() {
            return id;
        }

        public int getProductId() {
            return productId;
        }

        public BigDecimal getStartPrice() {
            return startPrice;
        }

        public BigDecimal getIncrementValue() {
            return incrementValue;
        }

        public long getStartTime() {
            return startTime;
        }

        public long getEndTime() {
            return endTime;
        }

        public int getAuctionGradeId() {
            return auctionGradeId;
        }

        public int getUserId() {
            return userId;
        }

        public int getTimes() {
            return times;
        }

        public long getCreateTime() {
            return createTime;
        }

        public String getProductPic() {
            return productPic;
        }

        public String getTitle() {
            return title;
        }

        public int getStatus() {
            return status;
        }

        public long getServerTime() {
            return serverTime;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public void setStartPrice(BigDecimal startPrice) {
            this.startPrice = startPrice;
        }

        public void setIncrementValue(BigDecimal incrementValue) {
            this.incrementValue = incrementValue;
        }

        public void setStartTime(long startTime) {
            this.startTime = startTime;
        }

        public void setEndTime(long endTime) {
            this.endTime = endTime;
        }

        public void setAuctionGradeId(int auctionGradeId) {
            this.auctionGradeId = auctionGradeId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public void setTimes(int times) {
            this.times = times;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public void setProductPic(String productPic) {
            this.productPic = productPic;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public void setServerTime(long serverTime) {
            this.serverTime = serverTime;
        }


    }


}
